<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.2">
  <compounddef id="d0/dfa/ErrorHandler_8cs" kind="file">
    <compoundname>ErrorHandler.cs</compoundname>
    <innerclass refid="d5/d2f/classMinConsole_1_1Gaf_1_1Utils_1_1ErrorHandler" prot="public">MinConsole::Gaf::Utils::ErrorHandler</innerclass>
    <innernamespace refid="db/d7a/namespaceMinConsole_1_1Gaf_1_1Utils">MinConsole::Gaf::Utils</innernamespace>
    <innernamespace refid="dc/d96/namespaceSystem_1_1Linq">System::Linq</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="normal">﻿using<sp/>System;</highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Collections.Generic;</highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Linq;</highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>System.Text;</highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>MinConsole.Gaf.Utils.Log;</highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight></codeline>
<codeline lineno="7" refid="db/d7a/namespaceMinConsole_1_1Gaf_1_1Utils" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">MinConsole.Gaf.Utils</highlight></codeline>
<codeline lineno="8"><highlight class="normal">{</highlight></codeline>
<codeline lineno="9" refid="d5/d2f/classMinConsole_1_1Gaf_1_1Utils_1_1ErrorHandler" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="d5/d2f/classMinConsole_1_1Gaf_1_1Utils_1_1ErrorHandler" kindref="compound">ErrorHandler</ref></highlight></codeline>
<codeline lineno="10"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//final<sp/>catch<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="14" refid="d5/d2f/classMinConsole_1_1Gaf_1_1Utils_1_1ErrorHandler_1af8c9c015736a24069de36532a8c3000d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>Trap(System.Diagnostics.StackTrace<sp/>st,<sp/>Exception<sp/>ex)</highlight></codeline>
<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>methodName<sp/>=<sp/>st.GetFrame(1).GetMethod().Name;</highlight></codeline>
<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>className<sp/>=<sp/>st.GetFrame(1).GetFileName();</highlight></codeline>
<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>lineNumber<sp/>=<sp/>st.GetFrame(1).GetFileLineNumber();</highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger" kindref="compound">Logger</ref>.<ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger_1a5c10f1454b60f5feeba5b75251f291d3" kindref="member" tooltip="Logs a message to the predifiend in the app settings logdir.">Debug</ref>(</highlight><highlight class="stringliteral">&quot;The<sp/>following<sp/>exception<sp/>occured<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>ex.Message);</highlight></codeline>
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger" kindref="compound">Logger</ref>.<ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger_1a5c10f1454b60f5feeba5b75251f291d3" kindref="member" tooltip="Logs a message to the predifiend in the app settings logdir.">Debug</ref>(</highlight><highlight class="stringliteral">&quot;className<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>className);</highlight></codeline>
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger" kindref="compound">Logger</ref>.<ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger_1a5c10f1454b60f5feeba5b75251f291d3" kindref="member" tooltip="Logs a message to the predifiend in the app settings logdir.">Debug</ref>(</highlight><highlight class="stringliteral">&quot;methodName<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>methodName);</highlight></codeline>
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger" kindref="compound">Logger</ref>.<ref refid="d3/d03/classMinConsole_1_1Gaf_1_1Utils_1_1Log_1_1Logger_1a5c10f1454b60f5feeba5b75251f291d3" kindref="member" tooltip="Logs a message to the predifiend in the app settings logdir.">Debug</ref>(</highlight><highlight class="stringliteral">&quot;lineNumber<sp/>&quot;</highlight><highlight class="normal"><sp/>+<sp/>lineNumber);</highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight><highlight class="comment">//eof<sp/>method<sp/></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal"></highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="29"><highlight class="normal">}<sp/></highlight><highlight class="comment">//eof<sp/>namespace<sp/></highlight><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="E:/cas/cas.0.7.0/sfw/src/MinConsole/MinConsole.0.8.0/MinConsole/Gaf/Utils/ErrorHandler.cs"/>
  </compounddef>
</doxygen>
